package com.chh.pddomain.gateway;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chh.pdclient.dto.query.UserListByParamQuery;
import com.chh.pddomain.user.UserEntity;

public interface UserGateway {
    UserEntity save(UserEntity entity);

    UserEntity findByUserName(Long id, String username);

    IPage<UserEntity> listByParamQuery(UserListByParamQuery query);
}
